//
//  UIImage+RecordID.m
//  YLHelper
//
//  Created by she1323 on 2018/7/16.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import "UIImage+RecordID.h"

@implementation UIImage (RecordID)

static char * const RD_KEY  = "recordId";

static char * const RD_FileUrl = "recordFileUrl";

-(void)setRecordId:(NSString *)recordId{
    objc_setAssociatedObject(self, RD_KEY, recordId, OBJC_ASSOCIATION_COPY_NONATOMIC);
}
-(NSString *)recordId{
    return objc_getAssociatedObject(self, RD_KEY);
}

-(void)setRecordfileUrl:(NSString *)recordfileUrl{
        objc_setAssociatedObject(self, RD_FileUrl, recordfileUrl, OBJC_ASSOCIATION_COPY_NONATOMIC);
}
-(NSString *)recordfileUrl{
    return objc_getAssociatedObject(self, RD_FileUrl);
}
@end
